<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>
    <div id="app">
        <form>
            <input type="text" v-model="number">
            <button type="button" v-click="increment">增加</button>
        </form>
        <h3 v-bind="number"></h3>
    </div>
    <script src="index.js"></script>
    <script>
        var app = new myVue({
            el: '#app',
            data: {
                number: 0
            },
            methods: {
                increment: function () {
                    console.log('thissss', this)
                    this.number++
                }
            }
        })
    </script>
</body>

</html>